//
//  Common.swift
//  SinaWeibo
//
//  Created by 袁向阳 on 16/6/26.
//  Copyright © 2016年 YXY.cn. All rights reserved.
//

import UIKit

// 屏幕的数据
let kWidth: CGFloat = UIScreen.mainScreen().bounds.size.width
let kHeight: CGFloat = UIScreen.mainScreen().bounds.size.height
let kSize: CGSize = UIScreen.mainScreen().bounds.size
let kBounds: CGRect = UIScreen.mainScreen().bounds

// 主题颜色
let themeColor: UIColor = UIColor.orangeColor()

// 随机颜色
func randomColor() -> UIColor {
    let r = CGFloat(random()%256) / 255
    let g = CGFloat(random()%256) / 255
    let b = CGFloat(random()%256) / 255
    let color = UIColor(red: r, green: g, blue: b, alpha: 1.0)
    return color
}

// App信息
let kAppKey: String = "3485495876"
let kAppSercet: String = "82e19ac7f40af3fa03edfbc4e213f950"
let kAppRedirect_uri: String = "https://git.oschina.net/yuanxiangyang0528/SwiftWeiBo"

// 切换根控制器
let kChangeRootVC: String = "kChangeRootVC"


/// 间距 10
let constantMargin: CGFloat = 10




